Introducing Algorithms in C: A Step by Step Guide to Algorithms in C by Luciano Manelli

Introducing Algorithms in C: A Step by Step Guide to Algorithms in C by Luciano Manelli

Author:Luciano Manelli [Luciano Manelli]
Language: eng
Format: epub
Publisher: Apress
Published: 2020-01-27T16:00:00+00:00


This procedure is also used by the web programming languages ​​for reading data archives from a database.

Functions and Subprograms

It is useful for programs to be read, shared, and easily modified, so they are usually divided into blocks (inserted in the same file or in different files) and linked to the main program (main). The individual blocks are called subprograms ; they depend on the purpose and the programming language and often return a result (equal to a mathematical function). Examples are sort and search algorithms. A subprogram is called at a point of the main program (whose address is saved in the system stack), and then, after computation, the main program continues from the exact address saved in the stack, as shown in Figure 2-20.

Figure 2-20Subprograms management



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.